home *** CD-ROM | disk | FTP | other *** search
/ Grand Slam 3 / Grand Slam 3.iso / 026 / klfdig74.arj / KLFDIG74.TXT < prev   
Internet Message Format  |  1995-03-12  |  29KB

  1. Date: Wed, 8 Mar 95 23:14 EET
  2. From: "Zach B." <zab@teleport.com>
  3. Subject: [KLF-TALK:1628] Re: Expoze Music Disk! JUST GET IT!
  4.  
  5. > On Mon, 6 Mar 1995, Andrew Leahy wrote:
  6. > > Just got my hands on the musicdisk "Expoze" by a bunch of Aussie tracker
  7. > > composers! IT IS MOST EXCELLENT!!!! 
  8. > I agree... It is excellent. The interface is great, the music is 
  9. > excellent, and the graphics are perfect.
  10. > Taz
  11.  
  12. And boy did their s3m converter kick ass :).. sorry, couldn't resist :)
  13.                     -Zab
  14.  
  15.  
  16. -----------------
  17.  
  18. Date: Wed, 8 Mar 95 23:39 EET
  19. From: "Chris Campbell" <campbell@fox.nstn.ca>
  20. Subject: [KLF-TALK:1630] Re: Starplayer 2.10
  21.  
  22. On Wed, 8 Mar 95 10:51 EET, 
  23. kim davies  <kimba@moby.it.com.AU> wrote:
  24.  
  25. >> >Starplayer 2.10 has now been released in the usual places as starp210.zip...
  26. >> Are there any other featured added besides SB support?
  27. >         + now supports the SoundBlaster series of soundcards!!!
  28. >           (support for mono SB up to 44khz)
  29. >         + added command line parameter '-m' to set mixing rate on SB cards
  30. >         + added command line parameter '-b' to set mixing buffer size
  31. >         + added command line parameter '-a' to set mixing amplification
  32. >         + added command line parameters '-?' and '-h' for help
  33. >         - device address is now shown in hexadecimal for clarity
  34. >         - extended device info for soundblaster cards
  35. >         - changed default to continuous play (shift-f? selects looped module)
  36. >         - minor ajustment to pattern indicator
  37. >         - gus dma now uses separate buffer than disk to prevent crashes
  38.  
  39. The last one is the only reason I'm going to get it!  Crashes are evil ;)
  40.  
  41. BTW, dosen't Sound Blister support defeat the purpose?  I know when I had a 
  42. SB/PRO shelling to DOS while playing a MOD really slowed things down.
  43.  
  44. >
  45. >Yeah, the IO port now shown as 220 or 240 or whatever to stop complaints,
  46. >and you can make a module loop with shift-fx, plus a few bug fixes :)
  47. >
  48. >now running linux 1.2,
  49. >-- 
  50. > ,,:::[                       kim davies                        ]:::..
  51. >::::::[        statix [oxygen/kosmic], kimba@it.com.au          ]::::::
  52. > '':::[      31~50'16"S 115~46'19"E, http://www.it.com.au/      ]:::``
  53. >
  54. >
  55. >
  56.  
  57. --
  58. Chris Campbell - Port Hawkesbury, Nova Scotia / Canada
  59.  
  60.  
  61. -----------------
  62.  
  63. Date: Wed, 8 Mar 95 23:38 EET
  64. From: "Chris Campbell" <campbell@fox.nstn.ca>
  65. Subject: [KLF-TALK:1629] Re: 
  66.  
  67. On Wed, 8 Mar 95 05:31 EET, 
  68. Ryan Hanson  <hanson4@nes.nersc.gov> wrote:
  69.  
  70. >in regards to basehead being an asshole, many of the people on this list
  71. >(though by no means all) are just being bitches if i may say so.  basehead
  72. >is like one of the best musicians in the scene i wish he'd do shit for our
  73.  
  74. I agree, I talk to Basehead on the IRCs.  He stayed in IRC for over an hour 
  75. to DCC me 13 songs of his.  I find him to be a very nice person, if he is 
  76. upset, there probably is a reason.
  77.  
  78. --
  79. Chris Campbell - Port Hawkesbury, Nova Scotia / Canada
  80.  
  81.  
  82. -----------------
  83.  
  84. Date: Thu, 9 Mar 95 00:34 EET
  85. From: pschramm@mail.utexas.edu (patrick schramm)
  86. Subject: [KLF-TALK:1631] Re: Expoze Music Disk! JUST GET IT!
  87.  
  88. >> 
  89. >> 
  90. >> 
  91. >> On Mon, 6 Mar 1995, Andrew Leahy wrote:
  92. >> 
  93. >> > Just got my hands on the musicdisk "Expoze" by a bunch of Aussie tracker
  94. >> > composers! IT IS MOST EXCELLENT!!!! 
  95. >> I agree... It is excellent. The interface is great, the music is 
  96. >> excellent, and the graphics are perfect.
  97. >> 
  98. >> Taz
  99. >> 
  100. >> 
  101. >
  102. >And boy did their s3m converter kick ass :).. sorry, couldn't resist :)
  103. >                    -Zab
  104. >
  105.  
  106. -Zab 
  107. can i get it on the net?
  108. pat
  109. Patrick Schramm.
  110. [pschramm@mail.utexas.edu]
  111.  
  112.  
  113. -----------------
  114.  
  115. Date: Thu, 9 Mar 95 01:31 EET
  116. From: kimba@moby.it.com.AU (kim davies)
  117. Subject: [KLF-TALK:1632] Re: Starplayer 2.10
  118.  
  119. (quoth jester)
  120. > Where'd that be, please? I couldn't find it at Hornet, they still have the
  121. > 'old' starp203.zip
  122.  
  123. yeah, hornet has taken a months holidays :-/ its in the incoming dir at:
  124. ftp://hornet.eng.ufl.edu/pub/msdos/demos/incoming/music/starp210.zip
  125. or in australia
  126. ftp://oxygen.it.com.au/oxygen/starp210.zip
  127.  
  128. if anyone can help me out with a decent ftp site I could use, please tell me
  129. (dan?) :)
  130.  
  131. cya
  132. -- 
  133.  ,,:::[                       kim davies                        ]:::..
  134. ::::::[        statix [oxygen/kosmic], kimba@it.com.au          ]::::::
  135.  '':::[      31~50'16"S 115~46'19"E, http://www.it.com.au/      ]:::``
  136.  
  137.  
  138. -----------------
  139.  
  140. Date: Wed, 8 Mar 95 19:18 EET
  141. From: Schitzo <g4psycho@cdf.toronto.edu>
  142. Subject: [KLF-TALK:1627] AMF files ...
  143.  
  144.     ok besides dmp (which i don't have and dislike and rather not 
  145. get! :).  what other player/trackers will read and play AMF files???  as 
  146. you can guess i've picked up ALL those NEWLY released OLD KLF files and 
  147. i've run into a problem of not being able to play them.  and i have 
  148. inertia, cubic, cmod, ft2, mmedit, st3 and none of them play AMF.  excuse 
  149. my ignorance but what is AMF format anyway?
  150.  
  151.     another thing ... BOY has kosmic evolved since from back then. 
  152. sorry to say this but i've listened to a few of the old stuff and do they
  153. ever SUCK!!! :) ... maybe if that annoying delay inbetween patterns
  154. weren't there it be more enjoyable.  again excuse my ignorance (i'm not a
  155. mod composer), but why is that?  is it because of the mod format used, the
  156. tracker that was used back then, or inexperience?  maybe a combination of
  157. all of them?  also noticed the samples weren't that well done either.  
  158. but i know there will be a few decent one's that i'll come across. 
  159.  
  160.  
  161.  
  162. -----------------
  163.  
  164. Date: Thu, 9 Mar 95 01:38 EET
  165. From: dan@vlad.bowker.com (Daniel Nicholson)
  166. Subject: [KLF-TALK:1633] Re: More bothersome file locating
  167.  
  168. "Chris Campbell" <campbell@fox.nstn.ca> writes:
  169.  
  170. > Now playing:
  171. >
  172. > Poetry In Motion II
  173. > Basehead / Kosmic
  174. > 1994
  175. > ftp://kosmic.wit.com/kosmic/songs/94/poet!klf.zip
  176. >
  177. > Be an ok think to do?
  178.  
  179. sure, why not.
  180.  
  181. > How do you start a listserv?  I want to start one.  Could I use
  182. > oilver.cs.sun.ac.za?
  183.  
  184. you have to run a listserv program on a unix machine connected to the
  185. internet. kim davies here (statix of kfmf) can probably point you towards
  186. more info.
  187.  
  188. - Dan
  189. ----------------------------------------------------
  190. Dan Nicholson, founder of the Kosmic Free Music Foundation.
  191.                       http://kosmic.wit.com/~kosmic/
  192.                        ----------------------------------------------------
  193.  
  194.  
  195. -----------------
  196.  
  197. Date: Thu, 9 Mar 95 04:27 EET
  198. From: "Jens Puchert" <jpuchert@mailbox.syr.edu>
  199. Subject: [KLF-TALK:1634] Re: AMF files ... 
  200.  
  201. In message <Pine.SOL.3.90.950308115420.16971A-100000@oberon> you write:
  202.  
  203. >    ok besides dmp (which i don't have and dislike and rather not 
  204. >get! :).  what other player/trackers will read and play AMF files???  as 
  205. >you can guess i've picked up ALL those NEWLY released OLD KLF files and 
  206. >i've run into a problem of not being able to play them.  and i have 
  207. >inertia, cubic, cmod, ft2, mmedit, st3 and none of them play AMF.  excuse 
  208. >my ignorance but what is AMF format anyway?
  209.  
  210. AMF is the internal format of DMP.  Since the format specifications were
  211. never published, no other player/tracker can support this format.  If
  212. you wanna listen to those songs, I hate to say it, but you'll have to
  213. use DMP.  Unless Maelcum has the original MOD versions of those songs
  214. lying around somewhere that is.
  215.  
  216. Jensi
  217.  
  218.  
  219. -----------------
  220.  
  221. Date: Thu, 9 Mar 95 04:43 EET
  222. From: "Zach B." <zab@teleport.com>
  223. Subject: [KLF-TALK:1635] Re: Expoze Music Disk! JUST GET IT!
  224.  
  225. > >> 
  226. > >> 
  227. > >> 
  228. > >> On Mon, 6 Mar 1995, Andrew Leahy wrote:
  229. > >> 
  230. > >> > Just got my hands on the musicdisk "Expoze" by a bunch of Aussie tracker
  231. > >> > composers! IT IS MOST EXCELLENT!!!! 
  232. > >> I agree... It is excellent. The interface is great, the music is 
  233. > >> excellent, and the graphics are perfect.
  234. > >> 
  235. > >> Taz
  236. > >> 
  237. > >> 
  238. > >
  239. > >And boy did their s3m converter kick ass :).. sorry, couldn't resist :)
  240. > >                    -Zab
  241. > >
  242. > -Zab 
  243. > can i get it on the net?
  244. > pat
  245. > Patrick Schramm.
  246. > [pschramm@mail.utexas.edu]
  247.  
  248. hmm, not sure why you'd want to convert s3m->cba w/o the standalone player..
  249. but hey :).. I dunno if BArt wants it spread all over the place.  He
  250. wouldn't let me give out the format specs so you'd probably have to ask him. 
  251. Unfortunatly I don't have his addy handy ;(..if I run into him I'll ask..
  252.  
  253.                 -Zab again..
  254.  
  255.  
  256. -----------------
  257.  
  258. Date: Thu, 9 Mar 95 05:21 EET
  259. From: Andrew Voss <vossa@rpi.edu>
  260. Subject: [KLF-TALK:1636] Re: AMF files ...
  261.  
  262.  
  263. > AMF is the internal format of DMP.  Since the format specifications were
  264. > never published, no other player/tracker can support this format.  If
  265. > you wanna listen to those songs, I hate to say it, but you'll have to
  266. > use DMP.  Unless Maelcum has the original MOD versions of those songs
  267. > lying around somewhere that is.
  268. > Jensi
  269.  
  270. Probably not, unfortunately, considering he couldn't even get to the AMF's.
  271. I'm really surprised that, in this day of non-DMP-uasge, someone hasn't come
  272. up with a AMF-reverse-converter , to like a MOD or S3M or something.  
  273. Probably because almost nobody (except KLF 4-6/93, sigh) bothered using
  274. the AMF format..
  275.  
  276. Oh well, at least Dan and the 'Deck didn't stick with 669's!
  277.  
  278. -andy v.
  279.  
  280.  
  281. -----------------
  282.  
  283. Date: Thu, 9 Mar 95 08:45 EET
  284. From: "Zach B." <zab@teleport.com>
  285. Subject: [KLF-TALK:1637] Re: AMF files ...
  286.  
  287. > In message <Pine.SOL.3.90.950308115420.16971A-100000@oberon> you write:
  288. > >    ok besides dmp (which i don't have and dislike and rather not 
  289. > >get! :).  what other player/trackers will read and play AMF files???  as 
  290. > >you can guess i've picked up ALL those NEWLY released OLD KLF files and 
  291. > >i've run into a problem of not being able to play them.  and i have 
  292. > >inertia, cubic, cmod, ft2, mmedit, st3 and none of them play AMF.  excuse 
  293. > >my ignorance but what is AMF format anyway?
  294. > AMF is the internal format of DMP.  Since the format specifications were
  295. > never published, no other player/tracker can support this format.  If
  296. > you wanna listen to those songs, I hate to say it, but you'll have to
  297. > use DMP.  Unless Maelcum has the original MOD versions of those songs
  298. > lying around somewhere that is.
  299. > Jensi
  300.  
  301. Well he did release the c source to the AMF loader.  It gives you the format
  302. of the file but you're lost w/ no clue as to the effects/params and all that
  303. shit, but it probably could be done if someone wanted to spend lots of time
  304. tracking/converting/loading etc.. but no one really cares that much :). Hmm,
  305. just FYI I guess :) laters..
  306.  
  307.                         -Zab
  308.  
  309.  
  310. -----------------
  311.  
  312. Date: Thu, 9 Mar 95 09:44 EET
  313. From: kimba@moby.it.com.AU (kim davies)
  314. Subject: [KLF-TALK:1638] Re: AMF files ...
  315.  
  316. (quoth Jens Puchert)
  317. > AMF is the internal format of DMP.  Since the format specifications were
  318. > never published, no other player/tracker can support this format.  If
  319. > you wanna listen to those songs, I hate to say it, but you'll have to
  320. > use DMP.  Unless Maelcum has the original MOD versions of those songs
  321. > lying around somewhere that is.
  322.  
  323. The format specifications were never published, but the loader software
  324. certainly was. If anyone wants the pascal or c AMF loader, gimme a yell.
  325.  
  326. (quoth Andrew Voss)
  327. > Probably not, unfortunately, considering he couldn't even get to the AMF's.
  328. > I'm really surprised that, in this day of non-DMP-uasge, someone hasn't come
  329. > up with a AMF-reverse-converter , to like a MOD or S3M or something.  
  330. > Probably because almost nobody (except KLF 4-6/93, sigh) bothered using
  331. > the AMF format..
  332.  
  333. AMF is basically a midi-like format, so it is pretty impracticle to convert
  334. them back (although not impossible by any means)
  335.  
  336. cya,
  337. -- 
  338.  ,,:::[                       kim davies                        ]:::..
  339. ::::::[        statix [oxygen/kosmic], kimba@it.com.au          ]::::::
  340.  '':::[      31~50'16"S 115~46'19"E, http://www.it.com.au/      ]:::``
  341.  
  342.  
  343. -----------------
  344.  
  345. Date: Sat, 11 Mar 95 01:37 EET
  346. From: Dan <dan@bepcp.bowker.com>
  347. Subject: [KLF-TALK:1644] New Release "Interphase" (K-PHASE.ZIP) announcement
  348.  
  349.                  The Kosmic Free Music Foundation presents
  350.                                "Interphase"
  351.                 a techno song composed by Nemesis of Kosmic
  352.                  in 7-track Scream Tracker 3 (S3M) format
  353.                   1 minutes and 30 seconds long, 125 bpm
  354.                          released March 7th, 1995
  355.  
  356. posted to KLF-LIST in four UUENCODED parts.
  357.  
  358. since i can't get connected to either kosmic.wit.com or ftp.cdrom.com 
  359. (home of the hornet incoming dir now), i have made the song available on 
  360. the old Kosmic ftp site at 
  361. ftp://freedom.wit.com/kosmic/songs/95/k-phase.zip
  362.  
  363. - Dan
  364.  
  365.  
  366. -----------------
  367.  
  368. Date: Sat, 11 Mar 95 01:39 EET
  369. From: Dan <dan@bepcp.bowker.com>
  370. Subject: [KLF-TALK:1646] Kosmic News #1
  371.  
  372.  
  373. Kosmic News #1 - Friday, March 10th, 1995
  374. --------------------------===============
  375.  
  376. Membership changes in Kosmic
  377. --------------------========
  378. Zab has joined Kosmic as a coder. Necros and Mellow-D have left Kosmic.
  379.  
  380. New Releases
  381. --------====
  382.  
  383. These are the most recent releases:
  384.  
  385. K-DUST.ZIP "Dust To Dust" a mellow rock song in S3M by Leviathan.
  386. K-PHASE.ZIP "Interphase" a techno track in S3M by Nemesis.
  387. K-FSABO.ZIP "Funk Saboteur" an experimental techno/IDM MTM by Maelcum.
  388.  
  389.  
  390. FTP/WWW site problems
  391. -------------========
  392.  
  393. our ftp site at ftp.luth.se is down, hopefully just temporarily.
  394. our ftp and WWW site at kosmic.wit.com has been down for a few days, I'm 
  395. not sure yet when it's coming back up.
  396. in the meantime, our old FTP site at freedom.wit.com /kosmic/songs will 
  397. house all new releases.
  398.  
  399.  
  400. that's it for now, watch for next week's kosmic news next friday.
  401.  
  402. - Maelcum
  403.  
  404.  
  405.  
  406.  
  407. -----------------
  408.  
  409. Date: Sat, 11 Mar 95 01:33 EET
  410. From: "Jens Puchert" <jpuchert@mailbox.syr.edu>
  411. Subject: [KLF-TALK:1639] Re: AMF files ... 
  412.  
  413. In message <m0rmcqE-0002GTC@moby.it.com.au> you write:
  414.  
  415. >(quoth Jens Puchert)
  416. >> AMF is the internal format of DMP.  Since the format specifications were
  417. >> never published, no other player/tracker can support this format.  If
  418. >> you wanna listen to those songs, I hate to say it, but you'll have to
  419. >> use DMP.  Unless Maelcum has the original MOD versions of those songs
  420. >> lying around somewhere that is.
  421. >
  422. >The format specifications were never published, but the loader software
  423. >certainly was. If anyone wants the pascal or c AMF loader, gimme a yell.
  424.  
  425. Yeah, send them please.  Both C and Pascal, maybe together they make some
  426. sense ;-)
  427.  
  428. >(quoth Andrew Voss)
  429. >> Probably not, unfortunately, considering he couldn't even get to the AMF's.
  430. >> I'm really surprised that, in this day of non-DMP-uasge, someone hasn't come
  431. >> up with a AMF-reverse-converter , to like a MOD or S3M or something.  
  432. >> Probably because almost nobody (except KLF 4-6/93, sigh) bothered using
  433. >> the AMF format..
  434. >
  435. >AMF is basically a midi-like format, so it is pretty impracticle to convert
  436. >them back (although not impossible by any means)
  437. >
  438. >cya,
  439. >-- 
  440. > ,,:::[                       kim davies                        ]:::..
  441. >::::::[        statix [oxygen/kosmic], kimba@it.com.au          ]::::::
  442. > '':::[      31~50'16"S 115~46'19"E, http://www.it.com.au/      ]:::``
  443.  
  444. Jensi
  445.  
  446.  
  447. -----------------
  448.  
  449. Date: Sat, 11 Mar 95 01:38 EET
  450. From: "Chris Campbell" <campbell@fox.nstn.ca>
  451. Subject: [KLF-TALK:1645] Re: More bothersome file locating
  452.  
  453. On Thu, 9 Mar 95 01:38 EET, 
  454. Daniel Nicholson  <dan@vlad.bowker.com> wrote:
  455.  
  456. >> How do you start a listserv?  I want to start one.  Could I use
  457. >> oilver.cs.sun.ac.za?
  458. >you have to run a listserv program on a unix machine connected to the
  459. >internet. kim davies here (statix of kfmf) can probably point you towards
  460. >more info.
  461.  
  462. Well I'd like some info on using oliver.cs.sun.ac.za since all my listservs 
  463. come from there...
  464.  
  465.  
  466. -Chris Campbell - Port Hawkesbury, Nova Scotia / Canada
  467.  
  468.  
  469. -----------------
  470.  
  471. Date: Sat, 11 Mar 95 09:38 EET
  472. From: kimba@moby.it.com.AU (kim davies)
  473. Subject: [KLF-TALK:1647] Re: More bothersome file locating
  474.  
  475. (quoth Chris Campbell)
  476. > How do you start a listserv?  I want to start one. 
  477.  
  478. You'll need..
  479.   
  480.  (a) List processor software
  481.      There are several around, major ones are listprocessor
  482.      and majordomo. 
  483.  (b) A UNIX box
  484.      Connected to the net :) 
  485.  (c) Lotsa bandwidth
  486.      oliver.cs.sun.ac.za basically is becoming really slowly
  487.      because of bandwidth, therefore if it gets many more lists
  488.      it will probably reach critical mass :)
  489.      
  490. Ask your sysadmin if he will set one up for you.
  491.  
  492. cya,
  493. -- 
  494.  ,,:::[                       kim davies                        ]:::..
  495. ::::::[        statix [oxygen/kosmic], kimba@it.com.au          ]::::::
  496.  '':::[      31~50'16"S 115~46'19"E, http://www.it.com.au/      ]:::``
  497.  
  498.  
  499. -----------------
  500.  
  501. Date: Sat, 11 Mar 95 09:39 EET
  502. From: Schitzo <g4psycho@cdf.toronto.edu>
  503. Subject: [KLF-TALK:1648] new old stuff ...
  504.  
  505.     hey dan my man, how's about doing remakes of klf's speedracer, 
  506. deep house nine, and the jeopardy techo! hehehe, those were cool!!!
  507.  
  508.     so anyone else listen to any of those releases?
  509.  
  510.  
  511. -----------------
  512.  
  513. Date: Sat, 11 Mar 95 11:21 EET
  514. From: "Zach B." <zab@teleport.com>
  515. Subject: [KLF-TALK:1649] Re: AMF files ...
  516.  
  517. > Yeah, send them please.  Both C and Pascal, maybe together they make some
  518. > sense ;-)
  519. > Jensi
  520.  
  521. Well here is a version he sent out a while back.  It is safe to assume that
  522. the pascal version is just a cheesy port 'cause I refuse to beleive that OC
  523. codes in pascal :).. here 'ya go:
  524.  
  525.                     -Zab
  526. =-==-=-=-=-=-=-===-=-=-=-=-=-=-=-==-=-=-=
  527. That's what YOU think... I do NOT have ANY documantation for AMF...
  528. if you're interested in the FILE format, then here's my loader
  529. for it:
  530.  
  531. // ************************************************************************
  532. // *
  533. // *    File        : AMFLOAD.C
  534. // *
  535. // *    Description : Loads an AMF format module file
  536. // *
  537. // *    Copyright (C) 1992 Otto Chrons
  538. // *
  539. // ************************************************************************
  540. /*
  541.         Revision history of AMFLOAD.C
  542.  
  543.         1.0     16.4.93
  544.                 First version.
  545.  
  546.  
  547. */
  548.  
  549. #include <stdio.h>
  550. #include <malloc.h>
  551. #include <string.h>
  552. #include <stdlib.h>
  553. #include <dos.h>
  554.  
  555. #include "mcp.h"
  556. #include "amp.h"
  557.  
  558. #ifdef _USE_EMS
  559. #include "emhm.h"
  560. #endif
  561.  
  562. extern int      loadOptions;
  563.  
  564. static uchar    order16[16] = { PAN_LEFT,PAN_RIGHT,PAN_RIGHT,PAN_LEFT,PAN_LEFT,PAN_RIGHT,PAN_RIGHT,PAN_LEFT,
  565.                                 PAN_LEFT,PAN_RIGHT,PAN_RIGHT,PAN_LEFT,PAN_LEFT,PAN_RIGHT,PAN_RIGHT,PAN_LEFT};
  566.  
  567. static void joinTracks2Patterns(MODULE *module)
  568. {
  569.     int         t,i;
  570.     PATTERN     *pat;
  571.  
  572.     for( t = 0; t < module->patternCount; t++)
  573.         {
  574.         pat = &(*module->patterns)[t];
  575.         for( i = 0; i < module->channelCount; i++ )
  576.             pat->track[i] = (*module->tracks)[(ushort)pat->track[i]];
  577.         }
  578. }
  579.  
  580. typedef struct {
  581.     uchar       type;
  582.     char        name[32],filename[13];
  583.     void        *sample;
  584.     ushort      size;
  585.     ushort      rate;
  586.     uchar       volume;
  587.     ushort      loopstart,loopend;
  588. } OLDINSTRUMENT;
  589.  
  590. int cdecl loadAMF(FILE *file, MODULE *module)
  591. {
  592.     ushort      a,t,i,insPtr = 0,size = 0, oldIns = 1,pan;
  593.     ushort      (*sample)[];
  594.     ushort      (*tracks)[],trckPtr = 0,lastIns = 0;
  595.     long        l,fpos;
  596.     TRACK       *track;
  597.     void        *smp;
  598.     OLDINSTRUMENT oi;
  599.     INSTRUMENT  *instr;
  600. #ifdef _USE_EMS
  601.     EMSH        handle;
  602. #endif
  603.  
  604.     module->tempo = 125;
  605.     module->speed = 6;
  606.     fseek(file,0,SEEK_SET);
  607.     fread(&l,4,1,file);
  608.     fread(&module->name,32,1,file);
  609.     if( l >= 0x0C464D41 ) pan = 32; else pan = 16;
  610.     if( l == 0x01464D41 ) size = 3;
  611.     else if( l >= 0x0A464D41 ) oldIns = 0;
  612.     else if( l!= 0x08464D41 && l != 0x09464D41) return MERR_TYPE;
  613.     fread(&module->instrumentCount,1,1,file);
  614.     fread(&module->patternCount,1,1,file);
  615.     fread(&module->trackCount,2,1,file);
  616.     if( l >= 0x09464D41 )
  617.     {
  618.         fread(&module->channelCount,1,1,file);
  619.         fread(&module->channelPanning,pan,1,file);
  620.         if( l < 0x0B464D41 )
  621.         {
  622.             memcpy(&module->channelPanning,order16,16);
  623.         }
  624.     }
  625.     if( l >= 0x0D464D41 )
  626.     {
  627.         fread(&module->tempo,1,1,file);
  628.         fread(&module->speed,1,1,file);
  629.     }
  630.     if((module->patterns = calloc(module->patternCount,sizeof(PATTERN))) == NULL ) return MERR_MEMORY;
  631.     if((module->instruments = calloc(module->instrumentCount,sizeof(INSTRUMENT))) == NULL ) return MERR_MEMORY;
  632.     if((module->tracks = calloc(module->trackCount+4,sizeof(void *))) == NULL) return MERR_MEMORY;
  633.     module->size += module->patternCount*sizeof(PATTERN)+
  634.                     module->instrumentCount*sizeof(INSTRUMENT)+
  635.                     (module->trackCount+4)*sizeof(void *);
  636.  
  637.     for( t = 0; t < module->patternCount; t++ )
  638.         for( i = 0; i < module->channelCount; i++ )
  639.             fread(&((*module->patterns)[t].track[i]),2,1,file);
  640.  
  641.     sample = calloc(module->instrumentCount,sizeof(ushort));
  642.  
  643.     for( t = 0; t < module->instrumentCount; t++ )
  644.     {
  645.         if( oldIns )
  646.         {
  647.             fread(&oi,sizeof(OLDINSTRUMENT),1,file);
  648.             memcpy(instr = &(*module->instruments)[t],&oi,sizeof(OLDINSTRUMENT));
  649.             instr->size = oi.size;
  650.             instr->rate = oi.rate;
  651.             instr->volume = oi.volume;
  652.             instr->loopstart = oi.loopstart;
  653.             instr->loopend = oi.loopend;
  654.             if(instr->loopend == 65535)
  655.                 instr->loopend = instr->loopstart = 0;
  656.         }
  657.         else
  658.         {
  659.             fread(&(*module->instruments)[t],sizeof(INSTRUMENT),1,file);
  660.         }
  661.         if((int)(*module->instruments)[t].sample > lastIns )
  662.             lastIns = (int)(*module->instruments)[t].sample;
  663.  
  664.         if((int)(*module->instruments)[t].sample > insPtr)
  665.         {
  666.             (*sample)[insPtr] = (*module->instruments)[t].size;
  667.             insPtr++;
  668.         }
  669.     }
  670.  
  671.     insPtr = lastIns;
  672.     tracks = calloc(module->trackCount,sizeof(ushort));
  673.     for( t = 0; t < module->trackCount; t++ )
  674.         {
  675.         fread(&(*tracks)[t],2,1,file);
  676.         if((*tracks)[t] > trckPtr) trckPtr = (*tracks)[t];
  677.         }
  678.  
  679.     for( i = 1; i < module->trackCount+1; i++ )
  680.         (*module->tracks)[i] = NULL;
  681.  
  682.     for( t = 0; t < trckPtr; t++)
  683.         {
  684.         fread(&a,2,1,file);
  685.         fread(&i,1,1,file);
  686.         if( a == 0 ) track = NULL;
  687.         else {
  688.             if((track = malloc(3*a+6)) == NULL) return MERR_MEMORY;
  689.             module->size += 3*a+3;
  690.             track->type = 0;
  691.             track->size = a;
  692.             fread(&track->note,a*3+size,1,file);
  693.         }
  694.         for( i = 0; i < module->trackCount; i++ )
  695.             {
  696.             if( (*tracks)[i] == t+1 )
  697.                 (*module->tracks)[i+1] = track;
  698.             }
  699.         }
  700.  
  701.     for( t = 0; t < insPtr; t++ )
  702.         if( (*sample)[t] > 0 )
  703.         {
  704.         if((smp = malloc((*sample)[t]+16)) == NULL) return MERR_MEMORY;
  705.         module->size += (*sample)[t]+16;
  706.         if(fread(smp,(*sample)[t],1,file) == 0) return MERR_FILE;
  707. #ifdef _USE_EMS
  708.         if( instr->size > 2048 )
  709.         {
  710.             if((handle = emsAlloc(instr->size)) > 0)
  711.             {
  712.                 emsCopyTo(handle,smp,0,instr->size);
  713.                 free(smp);
  714.                 smp = MK_FP(0xFFFF,handle);
  715.             }
  716.         }
  717. #endif
  718.  
  719.         for( i = 0; i < module->instrumentCount; i++ )
  720.             {
  721.             if((ushort)(*module->instruments)[i].sample == t+1 &&\
  722.                ((ulong)(*module->instruments)[i].sample & 0xFFFF0000) == 0)
  723.                 {
  724.                 (*module->instruments)[i].sample = smp;
  725.                 }
  726.             }
  727.         }
  728.     for( i = 0; i < module->instrumentCount; i++ )
  729.         if(((ulong)(*module->instruments)[i].sample & 0xFFFF0000) == 0)
  730.            (*module->instruments)[i].sample = NULL;
  731.     joinTracks2Patterns(module);
  732.     free(sample);
  733.     free(tracks);
  734.     return 0;
  735. }
  736.  
  737. MODULE * cdecl ampLoadAMF(const char *name, long options)
  738. {
  739.     FILE        *file;
  740.     ulong       l;
  741.     MODULE      *module;
  742.     int         b;
  743.  
  744.     loadOptions = options;
  745.     if((module = (MODULE*)malloc(sizeof(MODULE)))==NULL)
  746.         {
  747.         moduleError = MERR_MEMORY;
  748.         return NULL;
  749.         }
  750.     memset(module,0,sizeof(MODULE));
  751.     if((file = fopen(name,"rb")) == NULL)
  752.         {
  753.         moduleError = MERR_FILE;
  754.         return NULL;
  755.         }
  756.     module->type = MOD_NONE;
  757.     fseek(file,0,SEEK_SET);
  758.     fread(&l,4,1,file);
  759.     if( (l & 0x00FFFFFF) == 0x00464D41 )
  760.         {
  761.         module->type = MOD_AMF;
  762.         fread(module->name,20,1,file);
  763.         module->name[20] = 0;
  764.         if( l == 0x08464D41 || l == 0x01464D41 )
  765.             {
  766.             module->channelCount = 4;
  767.             memcpy(&module->channelPanning,&order16,4);
  768.             }
  769.         }
  770.     else
  771.         {
  772.         moduleError = MERR_TYPE;
  773.         return NULL;
  774.         }
  775.     b = loadAMF(file,module);
  776.     moduleError = b;
  777.     if( b == MERR_NONE )
  778.         {
  779.         fseek(file,0,SEEK_END);
  780.         module->filesize = ftell( file );
  781.         }
  782.     else
  783.         {
  784.         ampFreeModule(module);
  785.         free(module);
  786.         module = NULL;
  787.         }
  788.     fclose(file);
  789.     return module;
  790. }
  791.  
  792. -- 
  793. Otto Chrons        (c142092@cc.tut.fi)
  794. Woman, a great program, with no documentation
  795. ==-=-=-==-=-==-==-=-=-=-=-=-==-=
  796.  
  797.  
  798. -----------------
  799.  
  800. Date: Sat, 11 Mar 95 01:34 EET
  801. From: "Jens Puchert" <jpuchert@mailbox.syr.edu>
  802. Subject: [KLF-TALK:1640] Re: AMF files ... 
  803.  
  804. In message <199503090318.WAA109421@cortez.its.rpi.edu> you write:
  805.  
  806. >> AMF is the internal format of DMP.  Since the format specifications were
  807. >> never published, no other player/tracker can support this format.  If
  808. >> you wanna listen to those songs, I hate to say it, but you'll have to
  809. >> use DMP.  Unless Maelcum has the original MOD versions of those songs
  810. >> lying around somewhere that is.
  811. >> 
  812. >> Jensi
  813. >> 
  814. >
  815. >Probably not, unfortunately, considering he couldn't even get to the AMF's.
  816.  
  817. So you think after Mael and Deck created a song, they converted it to AMF
  818. and then threw the original away?
  819.  
  820. >I'm really surprised that, in this day of non-DMP-uasge, someone hasn't come
  821. >up with a AMF-reverse-converter , to like a MOD or S3M or something.  
  822.  
  823. It's a compressed format and although possible, it would take a lot of time
  824. to figure out what exactly he does in this format.  I don't know why he
  825. doesn't publish the specs, but as it stands, I can't see anybody supporting
  826. it anytime soon.
  827.  
  828. >Probably because almost nobody (except KLF 4-6/93, sigh) bothered using
  829. >the AMF format..
  830.  
  831. Well, considering it's completely unportable, there's no good reason to do
  832. so.
  833.  
  834. >Oh well, at least Dan and the 'Deck didn't stick with 669's!
  835.  
  836. Actually, there are many more players that support 669's than AMF's.
  837.  
  838. >-andy v.
  839.  
  840. Jensi
  841.  
  842.  
  843. -----------------
  844.  
  845. Date: Sat, 11 Mar 95 01:35 EET
  846. From: "Jens Puchert" <jpuchert@mailbox.syr.edu>
  847. Subject: [KLF-TALK:1641] Re: AMF files ... 
  848.  
  849. In message <199503090640.WAA25147@desiree.teleport.com> you write:
  850.  
  851. >> 
  852. >> In message <Pine.SOL.3.90.950308115420.16971A-100000@oberon> you write:
  853. >> 
  854. >> >    ok besides dmp (which i don't have and dislike and rather not 
  855. >> >get! :).  what other player/trackers will read and play AMF files???  as 
  856. >> >you can guess i've picked up ALL those NEWLY released OLD KLF files and 
  857. >> >i've run into a problem of not being able to play them.  and i have 
  858. >> >inertia, cubic, cmod, ft2, mmedit, st3 and none of them play AMF.  excuse 
  859. >> >my ignorance but what is AMF format anyway?
  860. >> 
  861. >> AMF is the internal format of DMP.  Since the format specifications were
  862. >> never published, no other player/tracker can support this format.  If
  863. >> you wanna listen to those songs, I hate to say it, but you'll have to
  864. >> use DMP.  Unless Maelcum has the original MOD versions of those songs
  865. >> lying around somewhere that is.
  866. >> 
  867. >> Jensi
  868. >> 
  869. >> 
  870. >
  871. >Well he did release the c source to the AMF loader.  It gives you the format
  872. >of the file but you're lost w/ no clue as to the effects/params and all that
  873. >shit, but it probably could be done if someone wanted to spend lots of time
  874. >tracking/converting/loading etc.. but no one really cares that much :). Hmm,
  875. >just FYI I guess :) laters..
  876. >
  877. >                        -Zab
  878.  
  879. Do you have this code?  If so send it over and we'll see.
  880.  
  881. Jensi
  882.  
  883.  
  884. -----------------
  885.  
  886. Date: Sat, 11 Mar 95 01:36 EET
  887. From: Schitzo <g4psycho@cdf.toronto.edu>
  888. Subject: [KLF-TALK:1642] Re: Expoze Music Disk! JUST GET IT!
  889.  
  890.  
  891.  
  892. On Wed, 8 Mar 1995, Zach B. wrote:
  893.  
  894. > > On Mon, 6 Mar 1995, Andrew Leahy wrote:
  895. > > 
  896. > > > Just got my hands on the musicdisk "Expoze" by a bunch of Aussie tracker
  897. > > > composers! IT IS MOST EXCELLENT!!!! 
  898. > > I agree... It is excellent. The interface is great, the music is 
  899. > > excellent, and the graphics are perfect.
  900. > And boy did their s3m converter kick ass :).. sorry, couldn't resist :)
  901.  
  902. does anyone know where i could find the s3m->cba, cba->s3m converter?
  903.  
  904.  
  905. -----------------
  906.  
  907. Date: Sat, 11 Mar 95 01:36 EET
  908. From: <vossa@rpi.edu>
  909. Subject: [KLF-TALK:1643] Re: AMF files ..
  910.  
  911.  
  912. > AMF is basically a midi-like format, so it is pretty impracticle to convert
  913. > them back (although not impossible by any means)
  914. > cya,
  915. > -- 
  916. >  ,,:::[                       kim davies                        ]:::..
  917. > ::::::[        statix [oxygen/kosmic], kimba@it.com.au          ]::::::
  918. >  '':::[      31~50'16"S 115~46'19"E, http://www.it.com.au/      ]:::``
  919.  
  920. Midi? Strange.. Well, the basics of he format aren't too messed up, considering
  921. I figured out basic AMF stuff like #patterns, #channels, instruments, etc,
  922. for my DMPShell prog.
  923.  
  924. -av
  925.  
  926.  
  927. -----------------
  928.  
  929.